// 编写好规则
export const passRules = {
  oldPass: [
    { required: true, message: '旧密码不能为空!', trigger: 'blur' },
  ],
  newPass: [
    { required: true, message: '新密码不能为空!', trigger: 'blur' },
    { min: 6, max: 10, message: '密码长度必须是6-10之间', trigger: 'blur' },

  ],
  checkPass: [
    { required: true, message: '确认密码不能为空!', trigger: 'blur' }
  ]
}
